package com.white.hot.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.junit.runners.Parameterized.Parameter;
import org.junit.runners.Parameterized.Parameters;

import com.white.hot.dto.CrashLog;

public interface ICrashLogDao {
    int deleteByPrimaryKey(Integer id);

    int insert(CrashLog record);

    int insertSelective(CrashLog record);

    CrashLog selectByPrimaryKey(Integer id);
    
    List<CrashLog> getList(
    		@Param(value="startTime") String startTime,
    		@Param(value="endTime") String endTime,
    		@Param(value="deviceBrand") String deviceBrand,
    		@Param(value="deviceModel") String deviceModel,
    		@Param(value="deviceApi") String deviceApi
    		);
    
    List<String> getCategary(@Param(value="catName") int catName);
    
    int updateByPrimaryKeySelective(CrashLog record);

    int updateByPrimaryKey(CrashLog record);
}